sdplugin module

class sd.api.sdplugin.SDPlugin(APIContext, handle, *args, **kwargs)

Bases: sd.api.sdapiobject.SDAPIObject

A plugin

getClassName() → str

Returns the most specific name of the class this APIObject is

getDirectory() → str

Returns the plugin directory

getLastErrorMessage() → str

Returns the last plugin error message

getName() → str

Returns the plugin name

getStatus() → sd.api.sdplugin.SDPluginStatus

Returns the status of the plugin

release() → None

Releases an APIObject

class sd.api.sdplugin.SDPluginStatus

Bases: enum.Enum

Enum representing the plugin status

LoadFailed = 2
Loaded = 0

Plugin is not loaded

Unloaded = 1

Plugin failed to load